/* Define to prevent recursive inclusion --------------------------------------------------------------------------------*/
#ifndef __ENCODER_H__
#define __ENCODER_H__

/* Includes -------------------------------------------------------------------------------------------------------------*/
#include "sys.h"

/* Define -----------------------------------------------------------------------------------------------------------------*/

/* use of other file --------------------------------------------------------------------------------------------*/
void TIM2_Encoder_Init(uint16_t psc, uint16_t arr);
void TIM3_Encoder_Init(uint16_t psc, uint16_t arr);
int Read_Encoder(u8 TIMX);

#endif
/*****************************************************END OF FILE*********************************************************/
